import 'package:changxindianzishangwu/util/colors.dart';
import 'package:flutter/material.dart';

class BindWxPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        elevation: 0,
        title: Text(
          "绑定微信号",
          style: TextStyle(fontSize: sp(16)),
        ),
        centerTitle: true,
      ),
      body: Container(
        color: Colors.white,
        width: double.infinity,
        alignment: Alignment.center,
        child: Column(
          children: <Widget>[
            Container(
              margin: EdgeInsets.only(
                top: 93,
              ),
              child: Image.asset(
                "images/微信.png",
                height: width(50),
                width: width(50),
                fit: BoxFit.cover,
              ),
            ),
            Container(
              margin: EdgeInsets.only(
                top: 19,
              ),
              child: Text(
                "Life***tack",
                style: TextStyle(
                  fontSize: sp(25),
                ),
              ),
            ),
            Container(
              margin: EdgeInsets.only(
                top: 15,
              ),
              child: Text(
                "你的微信号",
                style: TextStyle(
                    fontSize: sp(15), color: ZdColor.rgba(153, 153, 153, 1)),
              ),
            ),
            InkWell(
              onTap: () {
                //更换微信号
              },
              child: Container(
                height: 45,
                width: width(150),
                alignment: Alignment.center,
                margin: EdgeInsets.only(top: 300),
                decoration: BoxDecoration(
                    borderRadius: BorderRadius.circular(6),
                    color: ZdColor.rgba(0, 220, 169, 1)),
                child: Text(
                  "更换微信号",
                  style: TextStyle(fontSize: sp(15), color: Colors.white),
                ),
              ),
            )
          ],
        ),
      ),
    );
  }
}
